package org.springframework.samples.mvc.home;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/home")
public class HomeController {

	@RequestMapping(method=RequestMethod.GET)
	public void home(Model model) {
		System.out.println("★★★★★★★★★★★★ home");
		System.out.println("★★★★★★★★★★★★ home");
		System.out.println("★★★★★★★★★★★★ home");
		System.out.println("★★★★★★★★★★★★ home");
		model.addAttribute("serverTime", "serverTime");
	}
	 
}
